package org.studiox.graph.persistence.spring.jdbc.dao;

import org.studiox.graph.persistence.model.GraphVertexDO;

import java.util.List;

public interface GraphVertexDao {

  List<GraphVertexDO> findAll();

  int save(GraphVertexDO graphVertexDO);

  int update(GraphVertexDO graphVertexDO);

  int delete(Long id);

  GraphVertexDO findById(Long id);

  int findTotalNum();
}
